<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="head :: common_head(~{::title},~{::link})">
    <title>positionAndTeam</title>
    <link rel="stylesheet" th:href="@{/sys/positionAndTeam/positionAndTeam.css}" media="all" />
</head>
<!--职位 和 班组录入 页面-->
<body>

<div class="div-body">

    <blockquote class="layui-elem-quote">
        系统管理 / 职位班组录入
    </blockquote>

    <div class="div-card-top">

        <div class="layui-card position-card">
            <div class="layui-card-header">职位录入</div>
            <div class="layui-card-body" >
                <form class="layui-form table-form" lay-filter="positionTable">
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width: 95px;padding: 9px 5px">职位名称：</label>
                        <div class="layui-input-block" style="margin-left: 95px">
                            <input type="text" name="vPositionName" maxlength="50"  required lay-verify="required" placeholder="请输职位名称" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block btn-block">
                            <button class="layui-btn layui-btn-sm btncolor" lay-submit lay-filter="positionSubmit" style="margin-left: 20px"><i class="layui-icon">&#xe61f;</i>添加</button>
                        </div>
                    </div>
                </form>

                <div style="width: 100%">
                    <table id="positionTable" lay-filter="positionTable"></table>
                </div>

            </div>
        </div>

        <div class="layui-card Team-card">
            <div class="layui-card-header">班组录入</div>
            <div class="layui-card-body" >
                <form class="layui-form team-form" lay-filter="teamForm">
                    <div class="layui-form-item">
                        <label class="layui-form-label label4">班组名称<span style="font-weight: bold">：</span></label>
                        <div class="layui-input-block block4">
                            <input type="text" name="vteamname" maxlength="50" placeholder="请输职位名称" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label label3">评定组<span style="font-weight: bold">：</span></label>
                        <div class="layui-input-block block3">
                            <select name="vAppraiseFlg"></select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label label2">工厂<span style="font-weight: bold">：</span></label>
                        <div class="layui-input-block block2">
                            <select name="vFactoryFlg"></select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block btn-block">
                            <button type="button" id="beforeteamAdd" class="layui-btn layui-btn-sm btncolor" style="margin-left: 20px"><i class="layui-icon">&#xe61f;</i>添加</button>
                            <button type="button" id="beforeteamSelect"class="layui-btn layui-btn-sm btncolor" style="margin-left: 10px"><i class="layui-icon">&#xe615;</i>查询</button>
                            <button id="teamAddSubmit" class="layui-btn layui-btn-sm btncolor" lay-submit lay-filter="teamAddSubmit" style="display: none"><i class="layui-icon">&#xe61f;</i>添加</button>
                            <button id="teamSelectSubmit" class="layui-btn layui-btn-sm btncolor" lay-submit lay-filter="teamSelectSubmit" style="display: none"><i class="layui-icon">&#xe615;</i>查询</button>
                        </div>
                    </div>
                </form>

                <div style="width: 100%">
                    <table id="teamTable" lay-filter="teamTable"></table>
                </div>
            </div>
        </div>

    </div>

</div>
<div th:replace="head :: common_js(~{::script})">
    <script type="text/javascript" th:src="@{/sys/positionAndTeam/positionAndTeam.js}" ></script>
</div>
</body>
</html>